package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:03 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUIDomainDAO
    extends IDataAccessInterface<ProductUIDomain, ProductUIDomainDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_DOMAIN";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_DOMAIN.ID";

  /** Mapped Field DOMAIN_CODE */
  static final String DomainCode = "PRODUCT_UI_DOMAIN.DOMAIN_CODE";

  /** Mapped Field DOMAIN_NAME */
  static final String DomainName = "PRODUCT_UI_DOMAIN.DOMAIN_NAME";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_DOMAIN.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_DOMAIN.REMARKS";

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute domainCode */
    static final String DomainCode = "domainCode";

    /** Attribute domainName */
    static final String DomainName = "domainName";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUIDomain findById(final long id) throws Exception;
}
